/**
 * 
 */
package com.jd.event.service;
 
import java.util.Date;
import java.util.List;
import java.util.concurrent.Callable;

import com.jd.event.Event;
import com.jd.event.EventListener;

/**
 * @author luolishu
 * 
 */
public interface ScheduledService {

	public void submit(Event<?> event);
	
	public void submit(Event<?> event,List<EventListener> listeners);
	
	public void scheduleAtTime(Date time,Callable<?> callable);

	 
}
